package com.chenxin.wms.service.impl;

import com.chenxin.wms.domain.vo.DeliverDetailVO;
import com.chenxin.wms.mapper.DeliverDetailMapper;
import com.chenxin.wms.service.IDeliverDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeliverDetailServiceImpl implements IDeliverDetailService {
    @Autowired
    private DeliverDetailMapper deliverDetailMapper;

    @Override
    public List<DeliverDetailVO> selectDeliverDetailList(DeliverDetailVO deliverDetailVO) {
        return deliverDetailMapper.selectDeliverDetailViewList(deliverDetailVO);
    }

    @Override
    public DeliverDetailVO selectDeliverDetailById(Long deliverDetailId) {
        return deliverDetailMapper.selectDeliverDetailById(deliverDetailId);
    }
}
